package com.fyyg.service.system;

import com.fyyg.common.util.date.YXDate;
import com.fyyg.dal.system.TBusiMobileMessageMapper;
import com.fyyg.interfaces.system.TBusiMobileMessageService;
import com.fyyg.model.TBusiMobileMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("busiMobileMessageService")
public class TBusiMobileMessageServiceImpl implements TBusiMobileMessageService {

	
	@Autowired
	private TBusiMobileMessageMapper mobileMessageMapper;
	
	@Override
	public int insert(String mobilenum,String msg,int uid,int status,int busiType,int msgType,String ip){
////		TBusiMobileMessage message = new TBusiMobileMessage();
//		message.setMobilenum(mobilenum);
//		message.setMessage(msg);
//		message.setUid(uid);
//		message.setStatus(status);
//		message.setBusiType(busiType);
//		message.setMsgType(msgType);
//		message.setIp(ip);
//		message.setSendtime(YXDate.getTime());
//		int result = mobileMessageMapper.insert(message);
//		message=null;
		return result;
	}

}
